<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>WB32L003 Standard Peripherals Firmware Library: wb32l003_lpuart.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">WB32L003 Standard Peripherals Firmware Library
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_6d2d5b60bd20db849a9486835a2715aa.html">Libraries</a></li><li class="navelem"><a class="el" href="dir_5ec8cccc32fa528457f3b4ed28e1a2cf.html">WB32L003_StdPeriph_Driver</a></li><li class="navelem"><a class="el" href="dir_5de9c861c65ef79c1ee42b85520795c1.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">wb32l003_lpuart.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>This file provides all the LPUART firmware functions.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="wb32l003__lpuart_8h_source.html">wb32l003_lpuart.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="wb32l003__rcc_8h_source.html">wb32l003_rcc.h</a>&quot;</code><br />
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gaec264bcff74135a44a14cd2cc7727534"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___l_p_u_a_r_t___private___functions.html#gaec264bcff74135a44a14cd2cc7727534">LPUART_DeInit</a> (<a class="el" href="struct_l_p_u_a_r_t___type_def.html">LPUART_TypeDef</a> *LPUARTx)</td></tr>
<tr class="memdesc:gaec264bcff74135a44a14cd2cc7727534"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deinitializes the LPUARTx peripheral registers to their default reset values.  <a href="group___l_p_u_a_r_t___private___functions.html#gaec264bcff74135a44a14cd2cc7727534">More...</a><br /></td></tr>
<tr class="separator:gaec264bcff74135a44a14cd2cc7727534"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7a7f221f643f8d8a130aa346698130d4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___l_p_u_a_r_t___private___functions.html#ga7a7f221f643f8d8a130aa346698130d4">LPUART_Init</a> (<a class="el" href="struct_l_p_u_a_r_t___type_def.html">LPUART_TypeDef</a> *LPUARTx, <a class="el" href="struct_l_p_u_a_r_t___init_type_def.html">LPUART_InitTypeDef</a> *LPUART_InitStruct)</td></tr>
<tr class="memdesc:ga7a7f221f643f8d8a130aa346698130d4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes the LPUARTx peripheral according to the specified parameters in the LPUART_InitStruct.  <a href="group___l_p_u_a_r_t___private___functions.html#ga7a7f221f643f8d8a130aa346698130d4">More...</a><br /></td></tr>
<tr class="separator:ga7a7f221f643f8d8a130aa346698130d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8de387c2b6ac1c09e0d1229a1870995f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___l_p_u_a_r_t___private___functions.html#ga8de387c2b6ac1c09e0d1229a1870995f">LPUART_StructInit</a> (<a class="el" href="struct_l_p_u_a_r_t___init_type_def.html">LPUART_InitTypeDef</a> *LPUART_InitStruct)</td></tr>
<tr class="memdesc:ga8de387c2b6ac1c09e0d1229a1870995f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills each LPUART_InitStruct member with its default value.  <a href="group___l_p_u_a_r_t___private___functions.html#ga8de387c2b6ac1c09e0d1229a1870995f">More...</a><br /></td></tr>
<tr class="separator:ga8de387c2b6ac1c09e0d1229a1870995f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga668736c975122b489da85abd7499893b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___l_p_u_a_r_t___private___functions.html#ga668736c975122b489da85abd7499893b">LPUART_Cmd</a> (<a class="el" href="struct_l_p_u_a_r_t___type_def.html">LPUART_TypeDef</a> *LPUARTx, FunctionalState NewState)</td></tr>
<tr class="memdesc:ga668736c975122b489da85abd7499893b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables or disables the specified LPUART peripheral.  <a href="group___l_p_u_a_r_t___private___functions.html#ga668736c975122b489da85abd7499893b">More...</a><br /></td></tr>
<tr class="separator:ga668736c975122b489da85abd7499893b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga10d751538b3c22869c9308e5db070649"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___l_p_u_a_r_t___private___functions.html#ga10d751538b3c22869c9308e5db070649">LPUART_WriteData</a> (<a class="el" href="struct_l_p_u_a_r_t___type_def.html">LPUART_TypeDef</a> *LPUARTx, uint8_t Data)</td></tr>
<tr class="memdesc:ga10d751538b3c22869c9308e5db070649"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write data to SBUF register.  <a href="group___l_p_u_a_r_t___private___functions.html#ga10d751538b3c22869c9308e5db070649">More...</a><br /></td></tr>
<tr class="separator:ga10d751538b3c22869c9308e5db070649"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8412de3e83473e6fcb9e26dba432df8b"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___l_p_u_a_r_t___private___functions.html#ga8412de3e83473e6fcb9e26dba432df8b">LPUART_ReadData</a> (<a class="el" href="struct_l_p_u_a_r_t___type_def.html">LPUART_TypeDef</a> *LPUARTx)</td></tr>
<tr class="memdesc:ga8412de3e83473e6fcb9e26dba432df8b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read data from SBUF register.  <a href="group___l_p_u_a_r_t___private___functions.html#ga8412de3e83473e6fcb9e26dba432df8b">More...</a><br /></td></tr>
<tr class="separator:ga8412de3e83473e6fcb9e26dba432df8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa9f394ab5b14261e43117955c7b929e4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___l_p_u_a_r_t___private___functions.html#gaa9f394ab5b14261e43117955c7b929e4">LPUART_ITConfig</a> (<a class="el" href="struct_l_p_u_a_r_t___type_def.html">LPUART_TypeDef</a> *LPUARTx, uint32_t LPUART_IT, FunctionalState NewState)</td></tr>
<tr class="memdesc:gaa9f394ab5b14261e43117955c7b929e4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables or disables the LPUARTx's interrupts.  <a href="group___l_p_u_a_r_t___private___functions.html#gaa9f394ab5b14261e43117955c7b929e4">More...</a><br /></td></tr>
<tr class="separator:gaa9f394ab5b14261e43117955c7b929e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4367b9e1bb74e24b29f3753204ed4d71"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___l_p_u_a_r_t___private___functions.html#ga4367b9e1bb74e24b29f3753204ed4d71">LPUART_MultideviceCmd</a> (<a class="el" href="struct_l_p_u_a_r_t___type_def.html">LPUART_TypeDef</a> *LPUARTx, FunctionalState NewState)</td></tr>
<tr class="memdesc:ga4367b9e1bb74e24b29f3753204ed4d71"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables or disables the LPUARTx's Multidevice function.  <a href="group___l_p_u_a_r_t___private___functions.html#ga4367b9e1bb74e24b29f3753204ed4d71">More...</a><br /></td></tr>
<tr class="separator:ga4367b9e1bb74e24b29f3753204ed4d71"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4bc2fbfe7c776acc2de8263bd64a2332"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___l_p_u_a_r_t___private___functions.html#ga4bc2fbfe7c776acc2de8263bd64a2332">LPUART_SetAddress</a> (<a class="el" href="struct_l_p_u_a_r_t___type_def.html">LPUART_TypeDef</a> *LPUARTx, uint8_t LPUART_Address)</td></tr>
<tr class="memdesc:ga4bc2fbfe7c776acc2de8263bd64a2332"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the address of the LPUART node.  <a href="group___l_p_u_a_r_t___private___functions.html#ga4bc2fbfe7c776acc2de8263bd64a2332">More...</a><br /></td></tr>
<tr class="separator:ga4bc2fbfe7c776acc2de8263bd64a2332"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad3bec0ec09c05caec89718e4ce21e68e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___l_p_u_a_r_t___private___functions.html#gad3bec0ec09c05caec89718e4ce21e68e">LPUART_SetAddressMask</a> (<a class="el" href="struct_l_p_u_a_r_t___type_def.html">LPUART_TypeDef</a> *LPUARTx, uint8_t LPUART_AddressMask)</td></tr>
<tr class="memdesc:gad3bec0ec09c05caec89718e4ce21e68e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the address mask of the LPUART node.  <a href="group___l_p_u_a_r_t___private___functions.html#gad3bec0ec09c05caec89718e4ce21e68e">More...</a><br /></td></tr>
<tr class="separator:gad3bec0ec09c05caec89718e4ce21e68e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga91e2bb484edb323a803f6a84ca97f2b2"><td class="memItemLeft" align="right" valign="top">FlagStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___l_p_u_a_r_t___private___functions.html#ga91e2bb484edb323a803f6a84ca97f2b2">LPUART_GetFlagStatus</a> (<a class="el" href="struct_l_p_u_a_r_t___type_def.html">LPUART_TypeDef</a> *LPUARTx, uint32_t LPUART_FLAG)</td></tr>
<tr class="memdesc:ga91e2bb484edb323a803f6a84ca97f2b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks whether the specified UART flag is set or not.  <a href="group___l_p_u_a_r_t___private___functions.html#ga91e2bb484edb323a803f6a84ca97f2b2">More...</a><br /></td></tr>
<tr class="separator:ga91e2bb484edb323a803f6a84ca97f2b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8e1fcc0adc5b7cedd658382045dae4f6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___l_p_u_a_r_t___private___functions.html#ga8e1fcc0adc5b7cedd658382045dae4f6">LPUART_ClearFlag</a> (<a class="el" href="struct_l_p_u_a_r_t___type_def.html">LPUART_TypeDef</a> *LPUARTx, uint32_t LPUART_FLAG)</td></tr>
<tr class="memdesc:ga8e1fcc0adc5b7cedd658382045dae4f6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clear the specified LPUART flag.  <a href="group___l_p_u_a_r_t___private___functions.html#ga8e1fcc0adc5b7cedd658382045dae4f6">More...</a><br /></td></tr>
<tr class="separator:ga8e1fcc0adc5b7cedd658382045dae4f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>This file provides all the LPUART firmware functions. </p>
<dl class="section author"><dt>Author</dt><dd>Westberry Application Team </dd></dl>
<dl class="section version"><dt>Version</dt><dd>V0.0.3 </dd></dl>
<dl class="section date"><dt>Date</dt><dd>12-April-2023 </dd></dl>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by Westberry Technology (ChangZhou) Corp., Ltd. All rights reserved.
</small></address>
</body>
</html>
